<?php
/**
 * var @description string
 */
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="shortcut icon" href="favicon.ico">
    <title>
        <?php echo __('EntrenaTe!'); ?>
    </title>
    <?php echo $this->TioCachas->addKendo($kendoTheme); ?>
    <?php echo $this->Html->css('vendors/bootstrap/min.css?1'); ?>
    <?php echo $this->Html->css('vendors/font-awesome/min.css?1'); ?>
    <?php echo $this->Html->css('base.css?1'); ?>
    <?php echo $this->Html->css('menu.css?1'); ?>
    <?php echo $this->Html->css('footer.css?1'); ?>
    <?php echo $this->Html->css('vendors/pictonic/css/pictonic.css?1'); ?>
    <?php echo $this->fetch('stylesTop'); ?>
</head>
<body>
<div id="header" class="hidden-print">
    <?php echo $this->element('menu'); ?>
    <div id="titles" class="jumbotron hidden-print">
        <?php if (isset($title) === true): ?>
            <div class="container">
                <div class="pull-left">
                    <h1>
                        <?php echo $title; ?>
                    </h1>
                    <?php if (isset($description) === true): ?>
                        <p><?php echo $description; ?></p>
                    <?php endif; ?>
                    <?php
                    if (isset($breadcrumb)) {
                        $this->TioCachas->breadcrumb($breadcrumb);
                    }
                    ?>
                </div>
                <div id="__lineName__" class="pull-right">
                    <h1></h1>
                </div>
            </div>
        <?php endif; ?>
    </div>
</div>
<div class="container" id='mainContent'>
    <?php echo $this->fetch('content'); ?>
</div>
<?php echo $this->Html->script('globalization.js?1') . PHP_EOL; ?>
<?php echo $this->fetch('jsVars'); ?>
<?php echo $this->Html->script('vendors/kendo/jquery.min') . PHP_EOL; ?>
<?php echo $this->Html->script('base.js?1') . PHP_EOL; ?>
<?php echo $this->Html->script('vendors/bootstrap/min.js?1') . PHP_EOL; ?>
<?php echo $this->Html->script('menu.js?1'); ?>
<?php echo $this->fetch('scriptBottom') . PHP_EOL; ?>
<script type="text/javascript">
    kendo.culture(GLOBALIZATION.KENDO_CULTURE);
    if (GLOBALIZATION.KENDO_CULTURE == 'es-MX') {
        kendo.cultures.current.calendar.days.names = [ "Domingo", "Lunes", "Martes", "Miércoles", "Jueves", "Viernes", "Sábado" ];
        kendo.cultures.current.calendar.months.names = [ "Enero", "Febrero", "Marzo", "Abril", "Mayo", "Junio", "Julio", "Agosto", "Septiembre", "Octubre", "Noviembre", "Diciembre" ];
        kendo.ui.Validator.prototype.options.messages.maxNomina = "Máximo 8 caracteres";
    }
</script>
<div class="spaceFooter hidden-print">
    <?php echo $this->element('sql_dump'); ?>
</div>
<footer class="hidden-print">
    <?php echo $this->element('footer'); ?>
</footer>
</body>
</html>
